package com.shenzhen.horselive.beans;

import java.util.List;

public class LimitRange {


    /**
     * errCode : null
     * errMessage : null
     * total : 7
     * data : [{"range":-1,"rangeDesc":"全国","isUsed":0},{"range":-2,"rangeDesc":"全市","isUsed":1},{"range":-3,"rangeDesc":"全区/县","isUsed":1},{"range":1,"rangeDesc":"1公里","isUsed":1},{"range":3,"rangeDesc":"3公里","isUsed":1},{"range":5,"rangeDesc":"5公里","isUsed":1},{"range":10,"rangeDesc":"10公里","isUsed":1}]
     * success : true
     */

    private String errCode;
    private String errMessage;
    private int total;
    private boolean success;
    private List<DataBean> data;


    public String getErrCode() {
        return errCode;
    }

    public void setErrCode(String errCode) {
        this.errCode = errCode;
    }

    public String getErrMessage() {
        return errMessage;
    }

    public void setErrMessage(String errMessage) {
        this.errMessage = errMessage;
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * range : -1
         * rangeDesc : 全国
         * isUsed : 0
         */

        private int rangeValue;
        private String rangeDesc;
        private int isUsed;

        public int getRangeValue() {
            return rangeValue;
        }

        public void setRangeValue(int rangeValue) {
            this.rangeValue = rangeValue;
        }

        public String getRangeDesc() {
            return rangeDesc;
        }

        public void setRangeDesc(String rangeDesc) {
            this.rangeDesc = rangeDesc;
        }

        public int getIsUsed() {
            return isUsed;
        }

        public void setIsUsed(int isUsed) {
            this.isUsed = isUsed;
        }
    }
}
